public class Test {
    public static void main(String[] args) {
        MyLinkList list = new MyLinkList();
        list.addFirst(1);
        list.addFirst(2);
        list.addFirst(3);
        list.addFirst(4);
        list.addFirst(5);
        list.display();

        System.out.println();
        list.removeAllKey(3);
        list.display();
    }
}
